package com.sunshine.lnuplusweb.entities;

/**
 * @date 2020.10.27
 * @author sunshine
 * 课程实体类
 */
public class Lesson {

    private Integer scheduleId;

    private String lessonId;

    private Integer dayOfWeek;

    private Integer start;

    private Long startTime;

    private Integer end;

    private Long endTime;

    private String lessonName;

    private String teacher;

    private String location;

    private String weeks;

    private String color;

    public Lesson(Integer scheduleId, String lessonId, Integer dayOfWeek, Integer start, Long startTime, Integer end, Long endTime, String lessonName, String teacher, String location, String weeks, String color) {
        this.scheduleId = scheduleId;
        this.lessonId = lessonId;
        this.dayOfWeek = dayOfWeek;
        this.start = start;
        this.startTime = startTime;
        this.end = end;
        this.endTime = endTime;
        this.lessonName = lessonName;
        this.teacher = teacher;
        this.location = location;
        this.weeks = weeks;
        this.color = color;
    }

    public Integer getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Integer scheduleId) {
        this.scheduleId = scheduleId;
    }

    public String getLessonId() {
        return lessonId;
    }

    public void setLessonId(String lessonId) {
        this.lessonId = lessonId;
    }

    public Integer getDayOfWeek() {
        return dayOfWeek;
    }

    public void setDayOfWeek(Integer dayOfWeek) {
        this.dayOfWeek = dayOfWeek;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Integer getEnd() {
        return end;
    }

    public void setEnd(Integer end) {
        this.end = end;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getWeeks() {
        return weeks;
    }

    public void setWeeks(String weeks) {
        this.weeks = weeks;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Lesson{" +
                "scheduleId=" + scheduleId +
                ", lessonId='" + lessonId + '\'' +
                ", dayOfWeek=" + dayOfWeek +
                ", start=" + start +
                ", startTime=" + startTime +
                ", end=" + end +
                ", endTime=" + endTime +
                ", lessonName='" + lessonName + '\'' +
                ", teacher='" + teacher + '\'' +
                ", location='" + location + '\'' +
                ", weeks='" + weeks + '\'' +
                ", color='" + color + '\'' +
                '}';
    }
}
